all:server client
server:ServerMain.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp -lpthread
client:ClientMain.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp
.PHONY:clean
clean:
	rm -rf server client